package com.xiyue.leaspring.vo;

import javax.annotation.Resource;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;

@ContextConfiguration(locations = {"classpath:spring/spring-base3.xml"})
@RunWith(SpringJUnit4ClassRunner.class)
public class EmpTest3 {

	@Resource
	private Emp3 emp3;
	
	@Test
	public void testEmp() {
		System.out.println(this.emp3);
		System.out.println(this.emp3.getDept());
	}

}
